UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must log martian packets.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22418 GEN003611 SV-64207r1_rule Low
Description
Martian packets are packets containing addresses known by the system to be invalid. Logging these messages allows the SA to identify misconfigurations or attacks in progress.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2018-03-01

Details

Check Text ( C-52665r1_chk )
Verify the system logs martian packets.

# grep [01] /proc/sys/net/ipv4/conf/*/log_martians|egrep "default|all"

If all of the resulting lines do not end with "1", this is a finding.
Fix Text (F-54819r1_fix)
Configure the system to log martian packets.
Edit /etc/sysctl.conf and add a setting for "net.ipv4.conf.all.log_martians=1" and "net.ipv4.conf.default.log_martians=1".

Reload the sysctls.
Procedure:
# sysctl -p